package com.ruoyi.law.domain.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.core.domain.SortBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 标签管理
 * </p>
 *
 * @author code
 * @since 2022-11-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "LawLabel对象", description = "标签管理")
public class LawLabel extends SortBaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id")
    private Long id;

    @ApiModelProperty(value = "关联的上级标签id")
    private Long pid;

    @ApiModelProperty(value = "标签名称")
    private String name;

    @ApiModelProperty(value = "标签描述")
    private String labelRemark;

    @ApiModelProperty(value = "服务类型（1.咨询 2.服务）")
    private String serviceType;

    @ApiModelProperty(value = "关联的服务id")
    private Long serviceId;

    @ApiModelProperty(value = "下级标签类型（1.单选框、2.复选框、3.文本输入框）")
    private String type;

    @ApiModelProperty(value = "按钮文字")
    private String buttonName;

}
